package com.gangan.model;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author jobob
 * @since 2019-09-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tl_customer")
public class Customer implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 自增主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 候诊人真实姓名
     */
    private String realName;

    /**
     * 候诊人手机号
     */
    private String mobilePhone;

    /**
     * 候诊人真实姓名拼音
     */
    private String pinYin;

    /**
     * 病情描述
     */
    private String description;

    /**
     * 备注
     */
    private String remarks;

    /**
     * 病例上传后路径
     */
    private String recordPath;

    /**
     * 患者家属问诊 ,0-否,1-是
     */
    private String isSelf;

    /**
     * 证件类型 ,字典表获取
     */
    private Integer cardType;

    /**
     * 证件号
     */
    private String cardNumber;

    /**
     * 预约创建时间
     */
    private LocalDateTime createTime;

    /**
     * 预约修改时间
     */
    private LocalDateTime updateTime;

    @TableLogic
    @ApiModelProperty(value="逻辑删除识别",example="false")
    private boolean delFlag;

}
